package com.vipshop.admin.web;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@SpringBootApplication(scanBasePackages = "com.vipshop")
@ServletComponentScan
public class VipShopAdminWebApplication {

    public static void main(String[] args) {
        SpringApplication.run(VipShopAdminWebApplication.class, args);
    }
    @RequestMapping("/")
    public  String Index(){
//        UserService userService=new UserService();
//        userService.findName("ddd");
        return "HelloWord";
    }
}
